Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
authorTor Lillqvist <tml@novell.com>
Wed, 1 Oct 2008 10:43:02 +0000 (10:43 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 1 Oct 2008 10:43:02 +0000 (10:43 +0000)
2008-10-01  Tor Lillqvist  <tml@novell.com>

* io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses
newest mingw headers.

svn path=/trunk/; revision=21555

gdk-pixbuf/ChangeLog
gdk-pixbuf/io-icns.c

index fe218bf80a6b4d600ec330f06f67697187159412..650ca00d41b63befc1f11d32dff1e8150e0bd16d 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-01  Tor Lillqvist  <tml@novell.com>
+
+       * io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses
+       newest mingw headers.
+
 2008-09-23 13:28:23  Tim Janik  <timj@imendio.com>
 
        * gdk-pixdata.c: prevent RLE encoding of 1x1 pixel images, since the
index 295e438f6535d6ff6786e2a4b3dbe8b82869613c..eee7dcc849103fb7a7fe7d526b17bdbeeff4acae 100644 (file)
@@ -19,7 +19,9 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#ifndef _WIN32
 #define _GNU_SOURCE
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>